#测试可调用方法__call__()
class SalaryAccount:
    def __call__(self,salary):
        print("算工资了。。。")
        yearSalary = salary * 13
        daySalary = salary//22.5
        hourSalary = daySalary//8

        return dict(yearSalary = yearSalary,daySalary=daySalary,hourSalary=hourSalary
    )

s = SalaryAccount()
print(s(13708))